package ruifight.member.service;

import com.github.pagehelper.PageInfo;

import ruifight.member.model.ShopAccount;
import ruifight.member.model.ShopInfo;
import ruifight.member.model.TransactionRecord;
import ruifight.member.model.TransactionRecordExample;
import ruifight.member.service.base.BaseService;

import java.util.Map;

public interface TransactionRecordService extends BaseService<TransactionRecord, TransactionRecordExample, Long> {

    /**
     * 获取充值记录列表
     * @param cur_page
     * @param page_size
     * @param paramMap
     * @return
     */
    public PageInfo<Map<String, Object>> getTransactionRecordList(int cur_page, int page_size, Map<String, Object> paramMap);
    /**
     * 确认交易
     * @param transactionRecord
     */
	public void submitTransaction(TransactionRecord transactionRecord,ShopAccount shopAccount,ShopInfo shopInfo);
}
